home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 4219 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  707 b 

  1. Path: airdmhor.gen.nz!not-for-mail
  2. From: gumboot@airdmhor.gen.nz (Simon Hosie)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: The size of a file
  5. Date: 3 Feb 1996 06:42:16 +1300
  6. Organization: Airdmhor
  7. Message-ID: <4etido$f9r@airdmhor.gen.nz>
  8. References: <4ebc03$4gv@gate.compart.fi> <4edo88$4c7@news.xs4all.nl> <4ej9mr$fh5@noc.tor.hookup.net> <4elv0h$ood@news.bellglobal.com>
  9. NNTP-Posting-Host: localhost.gen.nz
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. > But what if the file size doesn't fit in a long int (in DOS)? It
  13. > seems that a long int (which ftell() returns) only goes up to 2 meg.
  14.  
  15. Steve Tupy:
  16. > You mean just over 2 gigs, don't you?
  17.  
  18.   Actually 1 byte under 2 gig.  You can have negative 2 gig exactly, though.
  19.